package cn.edu.lsnu.mbti.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName page_user
 */
@TableName(value ="page_user")
@Data
public class PageUser implements Serializable {
    /**
     * id
     */
    @TableId(value = "id")
    private String id;

    /**
     * 页面id
     */
    @TableField(value = "page_id")
    private String pageId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 用户访问页面的点击数
     */
    @TableField(value = "count")
    private Long count;

    /**
     * 用户停留页面的时长（分钟）
     */
    @TableField(value = "stay_time")
    private Double stayTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
